package com.wjl.shop.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 汇总表信息(SumOrder)实体类
 *
 * @author makejava
 * @since 2021-10-07 14:07:23
 */
@Data
public class SumOrder implements Serializable {
    private static final long serialVersionUID = -31345353491039444L;
    /**
     * 序号
     */
    private Integer id;
    /**
     * 汇总表编号
     */
    private String sumOrderCode;
    /**
     * 产品编码
     */
    private String proCode;
    /**
     * 经销商编码
     */
    private String dealerCode;
    /**
     * 汇总计划订单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sumOrderDate;
    /**
     * 调拨单号
     */
    private String transferOrderNumber;
    /**
     * 产品需求总数 --》计算得到
     */
    private Integer proTotalNum;
    /**
     * 产品总体积 --》计算
     */
    private Object proTotalVolume;
    /**
     * 备货计划订单编号  --》合并
     */
    private String orderCode;
    /**
     * 备注
     */
    private String tip;
    /**
     * 发运方式
     */
    private String sendMethod;
    /**
     * 制单人编码
     */
    private String madeCode;
    /**
     * 入货仓库地址编码
     */
    private String storageInCode;
    /**
     * 出货仓库地址编码
     */
    private String storageOutCode;
    /**
     * 总金额
     */
    private Double totalPrice;
    /**
     * 需缴纳保证金
     */
    private Double paid;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSumOrderCode() {
        return sumOrderCode;
    }

    public void setSumOrderCode(String sumOrderCode) {
        this.sumOrderCode = sumOrderCode;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public Date getSumOrderDate() {
        return sumOrderDate;
    }

    public void setSumOrderDate(Date sumOrderDate) {
        this.sumOrderDate = sumOrderDate;
    }

    public String getTransferOrderNumber() {
        return transferOrderNumber;
    }

    public void setTransferOrderNumber(String transferOrderNumber) {
        this.transferOrderNumber = transferOrderNumber;
    }

    public Integer getProTotalNum() {
        return proTotalNum;
    }

    public void setProTotalNum(Integer proTotalNum) {
        this.proTotalNum = proTotalNum;
    }

    public Object getProTotalVolume() {
        return proTotalVolume;
    }

    public void setProTotalVolume(Object proTotalVolume) {
        this.proTotalVolume = proTotalVolume;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public String getSendMethod() {
        return sendMethod;
    }

    public void setSendMethod(String sendMethod) {
        this.sendMethod = sendMethod;
    }

    public String getMadeCode() {
        return madeCode;
    }

    public void setMadeCode(String madeCode) {
        this.madeCode = madeCode;
    }

    public String getStorageInCode() {
        return storageInCode;
    }

    public void setStorageInCode(String storageInCode) {
        this.storageInCode = storageInCode;
    }

    public String getStorageOutCode() {
        return storageOutCode;
    }

    public void setStorageOutCode(String storageOutCode) {
        this.storageOutCode = storageOutCode;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Double getPaid() {
        return paid;
    }

    public void setPaid(Double paid) {
        this.paid = paid;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

}
